package com.xwaf.platform.system.provider.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 
 * <p>
 * Netty配置
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2020年1月9日 上午9:52:29 <br>
 * @see 无<br>
 *      Copyright (c) 2020, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Configuration
public class NettyConfig {

	/**
	 * WebSocket-netty Server port
	 */
	@Value("${netty.web.socket.port}")
	private int port;

	/**
	 * WebSocket Url
	 */
	@Value("${netty.web.socket.url}")
	private String url;

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
